set/reset frontierY as well
collect return frames
gotcha: frames are mutable. need to copy