Started adding logic to build gaps/paths.