add topology_constraints_only option to enumerate(), from 6ad1dc