A heuristic approach to solve the Table Lookup Bypass problem