[Parser] Fixed depth for kernels