how to calculate thread size - Search