- added protection for slice and partition values out of range (referring to the...