valdiate constraints on path generation