use custom version of get-size