fixed PredictSample (if align = F)