add cub::select to filter used in mst