added pruning neighbor nodes. will compile, going to start testing