work on extrapolating corners