A wider stance will generally yield a more vertical torso at the bottom in a low bar squat. But you can, and should, be in extension with a moderate stance as well, and you certainly shouldn't be squatting "folding down like an accordion" as it sounds like you were doing. But it's hard to say more without seeing your squat.