works for powers of 2]
name the test