Flex binding optimization