Cache IPv4 start node
Only calculate bit count once
Fixed bug when IPv4 tree does not exist