Fix work with very big output