Probably I'll be wrong, but I understand that "private static short sTmp;" will run in EEPROM so its space is reserverd bay doing it a class member. Later it is asigned a value taken from a RAM buffer, but it is not in RAM.