reuse hashNumber and clarify hashPosition to be in bytes