reorder zeroes problem