Fixed Size Determination Code

- Fixes Size Determination Code (I hope!)