use sensible buffer sizes