Added space detection configure

Added space detection configure