made the bmp perfectly square