This is the way I would do to create a fixed dictionary. Create a new mapping session, roaming around with incremental dictionary. Close the session. Create another mapping session with incremental set to false and set the dictionary path to previous created database.
See also
https://github.com/introlab/rtabmap/issues/942#issuecomment-1345657263