first working version mass redistribution