Issue #4: Making sure that the horizontal and vertical global ID is only pushed to the kernel sub-function, when it is being used