1D to 3D position