added: (temporarily) allow switching between fastamg and amg through template param