Specify a size for lookup tables in escape.c and trim implicit zeros