Prism: simplified computeSize() since the polygonal base lies in the xy-plane.