private CommonBitsRemover cbr;
private Geometry[] removeCommonBits(Geometry[] geom)
{
cbr = new CommonBitsRemover();
cbr.add(geom[0]);
cbr.add(geom[1]);
Geometry remGeom[] = new Geometry[2];
remGeom[0] = cbr.removeCommonBits((Geometry) geom[0].clone());
remGeom[1] = cbr.removeCommonBits((Geometry) geom[1].clone());