#KT-5513 Fixe

Ignore large methods in optimizer because it leads to OutOfMemoryException