In a blender or food processor, combine the toasted spices, basil, chilies, lemongrass, shallot, garlic, galangal, lime zest, fish sauce, and shrimp paste. Add a tablespoon or two of coconut milk to help it blend into a thick paste. Blitz until smooth. This is your flavor base and the heart of many Thai food recipes.