add stacked molecules inside boxes