sped up performance of findFirstLUTLineInLines
consistent 3DL exception names
don't discriminate against weird integer max output values