fix algo_div when sum_3 or sum_4 were just the pivot
refactor comments about ss containing the pivot