fixes for SIZE calculations