border_algorithm/ initialize