Remove debug prints
Improvements to cores number exploration