temporary between generalizing find corners
fixed THE most annoying bug