TSDbySpace() initial version