minor optimizations to point lights