Added releaseGeometries option