optimize initial lighting