check the length of coins and barriers as well