implemented CombineWithLUT