optimized smooth map generattion (set border to stone)