g_Batched Dynamic Connectivity
https://yukicoder.me/wiki/offline_dsp
yukicoder