Improvement of calcKinPartials algo