delete func and test with 1024 nodes