doesn't work yet.  trying to make an image stack for testing.
code runs, wrong answer though
save before merge