added scale and shift to LayerStack objects