A generalized heat-brush approach for precise control of the waist profile in fiber tapers