fixed off by one fire node calculation