fixed #687 - port have an upper bound expression now. a lower bound could (should) be added in the future