Fix: Class variable has 2 distinct names

Declare with name $size_cache
Used one time with this name for debug
All others times, used with name $sizes_cache
Merge pull request #1572 from felixgilles/patch-1

Fix: Class variable has 2 distinct names