made autoscaling for the block size.