avoid threadsafe array operation unless BT_ENABLE_PARALLEL_SOLVER=1