shouldn't this be `paint_frontier` ?