porting longstar benchmark