* [ISSUE #26343] update close_slice to use the greater record * Renaming parameter for close_slice * code review