change the method name from "drawPairs" to "generateConstraints"