Set data_size_initialized to true after data_size is initialized

This fixes the bug in #94.