Backend for multigrain