Calculating the size of greater widgets corrected