OCD alignment of template