hash_rectangle() should work now
Removed debugging printf's