1. A method for programming a nonvolatile electronic device, the method comprising: performing an initial verify step of a programming algorithm with an initial type of reference voltage value; and performing one or more subsequent verify steps in the programming algorithm with a second type of reference voltage value.