Fixed referencing bug
Epoch code enforce integer type for size