Revised skeleton array slicing and padding to be consistent throughout.