A tool for planning weight interpolation and finding the closest integer (or closest to integer) stem or sidebearing