A reaction-based model of the state space of chemical reaction systems enables efficient simulations