add centerConstaint + refactor SlotConstraint