trying to fix memory leak that blows up at ~600 lakes