more randomization in area intersection test code