I thought everyone just used the expanding bar fan box kits for old work these days. The box depth is generally preset on those. If it's right on a joist, I'll use one of the plastic saddle type fan boxes.
I can practically hang from one hand off a step ladder on one of those expanding bars before the box is installed, so I find them to be more than adequate for the average ceiling fan.