Minimal spanning forests