We use internally the patch in http://trac.osgeo.org/postgis/ticket/810 and are quite happy with the improvement. Could it be applied? I can provide a version for trunk, too. Peter Hopfgartner R3 GIS Srl - GmbH http://www.r3-gis.com