updated memory setting

changed size of stack to accomodate C