Porous medium equation to Hele-Shaw flow with general initial density