fixed segfault from accessing s4s9 array during optmization ntuple fill