'Roof' = 'Top most...' ...from the American Heritage eReference: roof - 4. The highest point or limit... In this context, the '1st If' = 'upper limit.' Regards, Dick - KA5KKT