Image is now no longer flipped horizontally - demagic number distance
of cubes