This document presents a new packet classification algorithm called boundary cutting, which improves upon traditional decision-tree algorithms by deterministically defining cuts based on rule boundaries instead of fixed intervals. The proposed algorithm enhances search performance and reduces memory requirements significantly, addressing the limitations of previous methods that relied on complicated heuristics and preprocessing. Simulation results indicate that the boundary cutting algorithm can effectively classify packets with fewer memory accesses compared to existing systems.