Molecular statics of polymer configurations