converts an ip range (start ip, end ip) to a set of cidr ranges. may not be perfect.