update docstring to reflect generality
remove checkBinLines