generate position
Go on to calculate until max is reached of total: