Adding bin edges selection option to MI

Same code that was used in the te-extended case.