nomalize the size of pictures