Update connectNstatic.cpp

i think i i fixed most problems.. just give me another 30 mins to test outputs