added z depths to lines