python/lib/gen_code.py: add output size for notes