Changed bp and length for accuracy and consistency

Changed bp to Range as it's more accurate
Change the case for length for consistency