Added feature for using blockDims