Space-optimising solution