Length scale effects of friction in particle compaction using atomistic simulations and a friction scaling model