Improve path precomposition