resizeToBoundingSquare tweak