clean the code for large-skip (SERVER-10844)