Replaced all uses of cost in the hybrid stepwise BFS algorithm with either the frontier or the visited bitmap