Corrected buffer size