fixed method length for hash