introducing tlo and thi for fitting window description