TreeMin/Max q's computation