Make NETWORK global and use it consistently
Instead of using ntw REACTION_NETWORK type variable and local copies in subroutines, use the global NETWORK variable everywhere.
Instead of using ntw REACTION_NETWORK type variable and local copies in subroutines, use the global NETWORK variable everywhere.