add buffer size command line argument