trains recalulating paths when needed