fix ref and add length comparison to diameter of capsid