Remove the use of vec::const_*
Remove the use of const qualifier