smooth the boundary detection, changed the default tile color