Added new parameter to configure the toroidal region for searching loop closures