This should work for the whole dataset. Note: this script does take Wolfgang's time and divide by 2, then round.