I think piles will be made as retaining. It is wrong to solve such pile foundations that have no connection with the building in the same system as the building. You have to solve the building separately. Is it the subject of ideStatk for pile foundations to be made as retaining? issue.