origrestructured contains the fixed bstar algorithm