Critical fix for NDN/insert size calculation