set "magnitude" in path