get the width and height from .blocks file