added hamsi compression