added slices per student var (assuming whole number)