Removed extra math for resizing slice.