Honestly in my opinion it depends on more factors than just tank size. It also depends on how many other fish are in the tank, what your rockscape is set up like, how you how feed, and how you export nutrients.
I have learnt for my feeding habits and maintenance, a zebrasoma tang and a bristle tooth tang are the perfect combination for me for algae control, and currently I have the following with no aggression, and are fat and healthy (note my measurements below are just the nose to end of the torso, it does t include the tail in the measurement)
55 gallon tank with a 4” tomini in a 55 gallon anemone tank (setup has been this way for 5 years)
90 Gallon quarter cylinder tank with a 5” purple tang and a “4 yellow eye Kole tang (running this way for 3 years)
40 gallon breeder with 3”yellow tang and 4” Kole tang (been setup for 2 years now)
40 gallon breeder with a 4” yellow yellow scopas tang and 4” kole tang (been set up for 3 years now)
I currently have all tanks above running currently. All the tanks have medium to high flow, with a very high flow period for 5 minutes 3 times a day (all my tanks are bare bottom so this high flow wave is to kick up all detritus in the tanks). The rockscape is also set up for a lot of space to swim through for the fish so a decent amount of area to explore.
I feed on the heavy side and do 10-20% water changes each week based on nitrate levels (I control my phosphate with lanthinum chloride, but will alway do a 1/4 of my target for 4 days and dose into my fleece rollers, never directly into the tank).
All fish are flat and show no aggression unless one of my damsels becomes a jerk and then the next day I will find the damsel with a nice scrape along his side and the tang looks the same as usual). Also over these years even with me feeding heavy the fish have grown slowly in size, and I do believe that the growth rate of the fish adjusts somewhat to the tank size. Polo reef is the perfect example of this where if you look at all of the YouTubers that visit his tank they say they have never seen some of the fish in his tank that size before, even the anthias.
This debate is as old as fishkeeping it feels like. The way I look at it is, it’s your tank, your hobby, for your enjoyment ( not the enjoyment of everyone online, that’s just a perk, not the goal). But, at the same time, your tank and everything in it is also your responsibility, you buy it, you’d better be ready to keep it healthy long term, even if that means you’ll need to move it to something bigger down the road.