Only use as much space as needed