Add 2d net generation