fixed errors by recalculating cross-section before tracking