Fixed uniqueness of image rows