bsx/y_at_z and bs2ddist methods.