Scale adaptive simulation of vortex structures past a square cylinder