fixed large template compile method size limits