Needed to calculate the reverse prefix for non-standard subnets.