While extracting natural gas, minimising the environmental consequences above-ground is now possible at a reasonable expense by a newly found algorithm, scientists have said.