measures cord length distributions on aim files