Compact Hyperplane Hashing with Bilinear Functions