In a penis the nerve endings are also mostly in the glans (head) so the difference isn't that big. Most of the parts of these two organs match somehow, just shifted around a bit.