fix halfpel bma + subpel refine