fixed bug with buffer size computed incorrectly for normals