Code-based new approaches for determining the minimum required separation gap. (December 2022)