Use dictionary instead of list for spell coefficients