The idea taken from old Pipe Dream mod by sparr: https://forums.factorio.com/viewtopic.php?f=87&t=2716