Check length params