check for macro BUFF_SIZE