You could compile this into a global which would safe a compile on ever new block.  I'm not sure that ought to prevent a merge though.