remove usage of ROUND_TYPE_SIZE from encoding.c