new file histhack_sel.m