Trying to split bellman ford among two kernels