built edges from obstacles