Optimizing simultaneous diff and solid color check algorithm to consume more algorithmic space, but less computational time (in theory)