completed the move to sdsl
TODO: code cleanup