Refactor Lengthable length_min and length_max