weighed degree is bounded by 5 variables