use marco to define buffer size