Fixed bugs in the G11[] buffer and in the stream and collide loop