Constraints on definition of `length` should be strengthened