add hmpp constraints