Laser technique measures vast distances with nanometre precision