Updated for denomination array length