yieldScale with brush code