Pass outerId to kernel, correct yId to numY.