new fitWidthAndHeight method