added constraints for epsilon and distance
added constraints for epsilon and distance


Former-commit-id: 01ab63fb7cadfdab00b0ccf38a5d657b3a63fbc9
gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine