fig bugs: atom index bug, hist bug, use position of O instead of COM