Added weight check.