max degree sample