Unified simulation of different modes in atmospheric pressure DC discharges in nitrogen