Topology-based stereochemistry representation