+ sum += spow(vratio, i);
+ sscale = wah / sum;
+ if(vratio >= 1) {
+ mmaxtile = bh > mscale;
+ smaxtile = bh > sscale;
+ }
+ else {
+ mmaxtile = bh > (mscale * spow(vratio, nmaster - 1));
+ smaxtile = bh > (sscale * spow(vratio, n - nmaster - 1));
+ }