optimize autocheckpoints