Misc analyzer & 10.9 fixes
Fix issue #24, and simplify the whole constructNewSlices function.