finally fixed issue with ifr gain shapes when using intervals