how is magnetite seperated from the surrounding rock