Added flattened geometry.