Building NS3 simulation