Last commit before f != 0