initial polishing for block-pixel integer math