remove magic numbers in init atlas