randperm implemented for initial color seeding, working, result acceptable