tune beam for power-consumption, clean makefile