* add set region blocks function.