First principles study of small palladium cluster growth and isomerization