Stack Allocator based on the Jason Gregory's book: "Game Engine Architecture"