stop bar rescue from using massive amounts of memory

Tests pass, but code still needs to be cleaned up.