fixed final image size for sprites with repetition