improve instr cost feature