finish measureactivity.pig