line-simplification: Add explanatory diagram. Remove bitwise operation.