Fixup seed -> ip mapping

The seed may be shorter than the IP, and we want better parity between IPv4 and IPv6

We use the seed as the end of the IP; the mask is the front of the IP