For fast location of largest inscribed circle see also this code I posted more recently here:
(I think maybe @Petras_Vestartas is using that same code from Polylabel?)