Working linear probing model for ruby