A spatial version of the Shang method