It is my fault. Pad can never be 0 sized in this code. Perhaps it is bug in Ulf's code? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130308/7a30aefb/attachment.htm>