Precalculated outgoing light, MaxHeap actually working.