JAL-2103 patch routine for inserting gaps for hidden regions in a prediction