Z-ordering: a little precision fix