add spaceconsistencyanalyzer code
tmp