* adjust segment math * simplify interp and fix math * fix math and update dependency * push debug * Revert "push debug" This reverts commit 07c171b341814ee5dbe8ee97b76f1230888538af.