Modeling pentaquark and heptaquark states