Speedup in add_reactions