Restructure how params are passed around in ice crystals