more speed optimization (mainly for Kepler kernel)