Data type shift.
Fixed wrong assignment of constraints.