Fix the bug when the jigsaw's size is even