stable version with state neighborhood selection

stable version with state neighborhood selection