Input buffer initialized with minimum size of 2KB improves 10% runtime