BFS rank should start at 0 according to the header file, but the driver was checking for it starting at 1. So I changed it so the rank could start at either 0 or 1, and then just be consistent.