Magritte, a modern software library for 3D radiative transfer – II. Adaptive ray-tracing, mesh construction, and reduction. Issue 4 (16th October 2020)