Improved memory requirements - use uint16 for light indices