check limit of elements used
check limit of elements used