Starcode implementation with gstack and towers only.