increment state_position later, get rid of lte in favor of lt comparisons