Make pattern static

Having it local just wastes cycles