finish getOutskirts. working on validOutskirts