Fixes and optimizations to the IPv4 pool. I believe it's finished.