[lib] stop reinventing the wheel in singleSpace