If program is run multiple times on images, produces weird results
If program is run multiple times on images, produces weird results