Algorithms, boundary detection, and fonts added