Fixed a bug in the CPU gather function in the BFS stepwise algorithm
Improved the bottom-up GPU kernel of the BFS stepwise algorithm to better handle high degree nodes