accounted for edge case when there is only one optimizable instruction in the RISC file