refactor stats into separate previous and best maps

recur calls look a lot better