make scalar EXTRA2 encoding match between tables and algorithms