Hi @wence- , Here is some code to define the problem of too many dictionary items in the parloop function. The linear combination constants are just a row of an identity matrix. [test_functions_in_kernel.txt](https://github.com/firedrakeproject/firedrake/files/134262/test_functions_in_kernel.txt) Many Thanks, Alastair