Adds working version for computing scale out/in correctly