RAIL_COUNT
long in_crit[RAIL_COUNT];
long in_lcrit[RAIL_COUNT];
long curr_crit[RAIL_COUNT];
for (rail = 0; rail < RAIL_COUNT; ++rail) {