made zeroflag and traditional cases symmetric
increased stdio buffer size to speed up processing