smaller beamer source code size

Signed-off-by: Micky Ching <mickyching@gmail.com>