Add new FlattenGeometry implementation.