add ParallelConstraint Class