Removing extra 0s and 1s from our ASTs