Converting skeleton to foundation