fixed wrong slab_scale_factor