Surface area and volume optimization