fixed bug in buffer extents/texture dimensions
merging