reduced raytest length
Added InternalSize setting