Strange bugs with float values (size in bytes should be int, not float)