Behavior of grains in early supernova environments