* set correct buffer end pointer, so we don't run into unknown ground