algebraic: remove some unneeded consts