Software architecting the stack implementation