Pass buffer size through