Also added wholeT and helfT to lengths, as well as to the allowed lengths.