I was wondering why the styrofoam as well. Is it for insulation or to raise the tank?I'm also not sure why you would use styrofoam between the tank and the stand.
If adding the shims made it worst maybe you were shimming the wrong side?
Shim on the low side.