Changed it so terms always start on term tag
Fixed the bitwise shift term problem