Fix bug in arrangeZero