Massive earthquake jolts parts of country