Check begin/end/partition_size.