Declare stack before creating masses in ChamberPoolModel.js