rename sz to len.