Set length.