refactored erasure and runnable
now only 1 global erasure size