Monte Carlo-based non-LTE radiative transfer solver