Re-implemented IP policies with offset and length