Add length to other parameters as well Co-authored-by: frederikja163 <frederikja163@users.noreply.github.com>