Changed logic to not re-set this.slices twice, but only once and based

on the configuration file.