cleanup MPM related
improve getInterMergeCandidates()