Shock attenuation of running shoes