Parallelize sequential MST in Java