Move frame size into x64
Move more handling into x64