Added preprocessing tool to compute Boundary of character