FIX: improved corner detector