Flex for Object Not Behaving How I want

Hey y'all. I am trying to flex an object in my assembly like in the first picture, but no matter where I place or how I configure my trim planes or other relevant parts of the command, it always bends the bottom part and makes gaps like in the second picture. I need to base to stay exactly where it is, while flexing the top. Any suggestions?