Low-energy cosmic-ray and gamma-ray air shower simulation study using IceTop.