Use a larger buffer to support larger documents