Grid-of-Tries: A Novel Framework for Classifier Management -- BGPSep_S: An Algorithm for