You can train tomato to grow up instead of out. Peas and beans having climbing varieties...