stack architecture calculator