Root Motion distance based on parameter?

Alright, so I eventually done. Solution is based on 1D blendspace, where are identical animations except one animation has root motion on other is moving in place - distance for root motion can be set via blendspace parameter.I Hope that can help someone with same problem.