Determining shape around atoms