Put prefixes in priority