google
ref
Middle English: from Old Norse stakkr ‘haystack’, of Germanic origin.
etymonline
ref
stacked (adj.)
1796, of hay, past-participle adjective from stack (v.). Of women, "well-built physically; curved in a way considered sexually desirable," 1942.