length() is too expansive