Fix crash
Fix chunk area size calculation