Add the third dimension of the vertical position.