how are these constants calculated? i am wondering if we shouldn't try to make it more obvious what the offsets are by naming them.