After reading the intro three times, at one hour interval:
wait, I have already done this in my preprocessing. This work is only generalising my process to be applicable in any arbitrary cases.
Well at least it probably means I can prove my preprocessing works when I finally learn the probability theories.
Escape from maths, failed.