HybridCuts for packet classification