flip stack and heap

flip stack and heap so that the stack grows down and the heap grows up. This is a more common layout and will make the ordering of tasktree data and metadata more intuitive