replace inital state with preferential attch