First steps toward 3D. edge map(2) and (3) still not working.