Numerical evaluation of square arrangement of charges in explosive compaction