Geometry derivation