Reduce line length
Typos in docstrings
Rename MaxBERPLengthError to MaxBERPSizeError