check if len overflows