Change some thresholds for LADDER shape recognition

and fix typos