Is there a reason to prefer stack over heap?