Analysis of dynamical effects in the formation of compaction bands