finished stacking program