get lights, with option to block lights

maxTries to not iterate over 100 lights
lights fixed