boundary recovery