cOneDimension: restructure a bit and add scores
cOneDimension: add failure state and fix killing