fixed calculation for random seek check