recovery: add debug to range calculations