Efficient formulation of the stochastic simulation algorithm for chemically reacting systems | Synapse