Fix bug on light length <- divide by the resolution coef