handle edge case: only 1 block
Merge branch 'master' of https://github.com/JiajiHu/InfoRetPA
habit