Improve size calculation for arcs.