inter_prediction modified