Text this: Design of an optimal multilayer electromagnetic absorber through spiral algorithm