Towards the legendre sturm theory of space curves