I'd really like to be able to submit this as a pull request back to the original author so we don't have to maintain a fork.  I don't see how that is possible with hardcoded sizes though.  Can you remove them and make it more generic?