determine photo length each go