Revert "memory window"

This reverts commit 5861be4d50ab168a7eb38a383f652996dd6356b1.