Accounted for different ranges of IR sensors