bugFix: segemetaion fault when genome is very small