Revert "remove code specified for ejecta"

This reverts commit 5dba3b0f5a2408a90ae87bdcaf16a8d5c4a839e6.