Added hourglass memory pattern for testing