min_z adjustment