Render global constants more at the beginning
Implemented simple check before excessive REGEXP