Fix input length expectation calculation
Ok, someone really likes spaces