resize works, dirty fix to get ceil() working
organiztion