Working on the corners detector