DOC Add explanation why the code is sub-optimal