The political blocs reach agreement on the legislative elections law