Slightly change image algorithm