* streams array can be simplified, no need to save cell indices * lots of duplicate code between `upscale_check` and `upscale_error` methods * remove unused code * improve comments. consistent use of pixel vs cell in terminology.
upscale_checkandupscale_errormethods