Global finite amplitude perturbations in medium aspect ratio pipe flow