A continuous constraints model for large strain grain deformations