HOTFIX: ram requirements for AAMs bug

The reference frame was getting damaged when calculating the
RAM requirements, this fixes this.