Properly calculate light activation range