fixed the distribution of chains for AIS