Gravar-mail: Refining the weighted stochastic simulation algorithm