Refactored `utility.$()` to have a better decision tree and less wasted ops

Minor tweak