some progress on shrinking and ordering mosaic photos