elastic_integral and raw version added