bit segments handled independetly
removed comments