Change std::stack to legacy array in soft_tcam::find_entry.