Detail algorithm in docstring