Thank you for your post.
This seems a bit too complex and hard to follow. My best advice is that you use QtFuzzyLite to precisely detail what is happening with your engine. Once you do, please post an image of what you see, what you expect and why.
I also do not understand what you mean by atomic values and input segments.