Implement distance profile restraint test.