Fixed wrong section size calculation