Efficient reconstruction of linear baryon acoustic oscillations in galaxy surveys