add scale feature
add bstack feature
Merge branches 'bstack' and 'scale'