Add a length parameter inside the constructor.

Make sure to spell length.