Changed memory definition to match task constraints of 8KB