expand/compress ip addresses