refactor: main.js -> grouping.js
save fusen position