more robust molecule formation for cooling simulations