Some water heaters have more space, while some take up almost nothing. These are tankless water heaters, and they have pros and cons about purchasing them. They're expensive, but they also provide a good amount of hot water to one appliance at a time.