remove extra padding in stacks, add api method to retrieve curren scale (#310)