Memory layout for value types

Memory layout for value types in stack and heap.