A guaranteed approximation algorithm for on-line computing quad-tree border