small changes to median stacking
blah