[REFACTOR] refs #35787 @0.3 Replaced several magic numbers