Changing bounding box sizes to percents