Cleanup
Fix bug in stack breakdown procedure