added support for > and <; wip: fixing mixed natural size and flexible size.