checkPartsCounter is binded to upper scope, so value in https://github.com/apiaryio/s3-streaming-upload/pull/7/files#diff-5a233824bfeefc9c7c0770540427e073R246 would be always the last one (max)