scaledVersion is now correctly sized.  Actually improved upon NathanKell's method.