Try and optimize hart management (still not optimal)