Added padding to the prediction array