this is wrong when the Length constraint only has a min and no max.