The Multi-Inter-Distance Constraint