Original NS-3.15 code