introduced arrays
simplified waists construction
cleaned up arrays
cleaned up arrays
simplified arrays
refactored indicesarrays in loops
refactored indicesarrays in loops