Update mst_functor.cuh