rewrote db in FEN instead of listing all pieces