fixed the bug when smooth chromosome