adjusted stack and buffer sizes to work with MSP430