run faster. 72% time usage compared to the previous version
THRESHOLD to defined args