Fixed bug in BinaryGeometrySerializer

Aligned the bytes by 4